//
//  HTfmdbUtils.h
//  TruckDriver
//
//  Created by Ting Han on 2017/9/26.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HTfmdbUtils : NSObject

+ (instancetype)sharedInstance;

//- (void)openDatabaseWithUserName:(NSString *)userName;
//
// // 往数据库写入数据ut_detect add by bob
//-(BOOL)addUt_detectLogsave:(DetectModel *)model;
//// 获取ut_detect表下面的数据 add by bob
//- (NSMutableArray *)getUt_detectDataDetial;
//// 根据detectingdate删除某个咨询对话 add by bob
//-(BOOL)deleteUt_detectOfVisitid:(NSString *)detectingdate;
////更新detectingdate对应的咨询对话信息UPDATE 表名称 SET 列名称 = 新值 WHERE 列名称 = 某值
//- (void)updateUt_detectOfVisitid:(NSString *)detectingdate logsave:(DetectModel *)model;
//// 根据detectingdate判断数据是否存在
//-(BOOL)isExitUt_detectOfDetectingdate:(NSString *)detectingdate;
//// ut_testing表 // 往数据库写入数据 add by bob
//-(BOOL)addUt_testingLogsave:(TestModel *)model;
//// 获取ut_testing表下面的数据 add by bob
//- (NSMutableArray *)getUt_testingDataDetial; // 根据testingid删除某个咨询对话 add by bob
//-(BOOL)deleteUt_testingOfVisitid:(NSInteger)testingid;


@end
